'''
Created on 31/08/2012

@author: Nrai
'''

from base import Error

class PaletteError(Error):
    pass

class PaletteValidationError(PaletteError):
    '''Raised when validating a palette file'''
    
    def __init__(self, filename, msg):
        
        self.msg = "Error validating Palette %s, %s" % (filename, msg)
        super(Error, self).__init__(self.msg)